<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="author" content="Bootstrap-ecommerce by Vosidiy">

    <title th:text="${status}">404</title>

    <link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico">

    <!-- jQuery -->
    <script src="/js/jquery-2.0.0.min.js" type="text/javascript"></script>

    <!-- Bootstrap4 files-->
    <script src="/js/bootstrap.bundle.min.js" type="text/javascript"></script>
    <link href="/css/bootstrap.css" rel="stylesheet" type="text/css"/>

    <!-- Font awesome 5 -->
    <link href="/fonts/fontawesome/css/fontawesome-all.min.css" type="text/css" rel="stylesheet">

    <!-- plugin: owl carousel  -->
    <link href="/plugins/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
    <link href="/plugins/owlcarousel/assets/owl.theme.default.css" rel="stylesheet">
    <script src="/plugins/owlcarousel/owl.carousel.min.js"></script>

    <!-- custom style -->
    <link href="/css/ui.css" rel="stylesheet" type="text/css"/>
    <link href="/css/responsive.css" rel="stylesheet" media="only screen and (max-width: 1200px)" />
    <link href="/css/footerAdjust.css" rel="stylesheet" type="text/css"/>

    <!-- custom javascript -->
    <script src="/js/script.js" type="text/javascript"></script>

    <script type="text/javascript">
        /// some script

        // jquery ready start
        $(document).ready(function() {
            // jQuery code

        });
        // jquery end
    </script>
    <style>
        #errorContain{
            display:flex;
            justify-content:center;
            align-items: center;
        }
    </style>

</head>
<body>


<div th:replace="fragment::header"></div>


<div class="main-content container" id="errorContain">
    <div style="text-align: center;" class="h1">
        <span th:text="${status}"></span><br>出错啦！
        <div class="dropdown">
            <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                查看错误详细信息
            </button>
            <div class="dropdown-menu p-4 text-muted" style="max-width: 600px;">
                <p th:text="${message}" style="max-width: 600px;">
                    Some example text that's free-flowing within the dropdown menu.
                </p>
            </div>
        </div>
    </div>
</div>

<div th:replace="fragment::footer"></div>


</body>
<script th:inline="javascript">
    console.log([[${message}]]);
</script>
</html>